public class Job05 {
    public static void main(String[] args) {
        int count = 0;
        for (int i = 2000; i < 2100; i++) {
            int line = (count + 1) % 6;
            if ((i%4 == 0 && i%100 != 0) || (i%400 == 0)){
                System.out.print(i+ "是闰年  ");
                count++;
            }
            switch (line) {
                case 0:
                    System.out.println("");
                    break;
                default:
            }
        }
    }
}
